package com.uphone.kingmall.bean;

import com.uphone.kingmall.base.BaseBean;

import java.util.List;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/26
 *     desc   :
 * </pre>
 */
public class MessageBean extends BaseBean <MessageBean.DataBean>{

    /**
     * current : 1
     * pages : 0
     * data : [{"readFlag":1,"userMsgId":24,"msgId":25,"msgTitle":"您的订单已发货","msgContent":"您的订单已发货","pushTime":"2019-03-14 17:44:24","msgMode":1,"tag":"16","orderGoods":[{"orderGoodsId":18,"goodsId":3,"goodsName":"砍价测试","goodsImg":"http://localhost:8082/upload/images/goods/2e3f3cad023342858ae208a19deb810f.jpg","goodsPerFee":0,"goodsSpec":"","goodsNum":1}]},{"readFlag":1,"userMsgId":11,"msgId":11,"msgTitle":"您的金币充值成功","msgContent":"您的金币充值成功","pushTime":"2019-03-01 10:44:48","msgMode":2,"tag":"33"},{"readFlag":1,"userMsgId":10,"msgId":10,"msgTitle":"您的金币充值成功","msgContent":"您的金币充值成功","pushTime":"2019-03-01 10:43:54","msgMode":2,"tag":"32"},{"readFlag":1,"userMsgId":9,"msgId":9,"msgTitle":"您的金币充值成功","msgContent":"您的金币充值成功","pushTime":"2019-03-01 10:31:20","msgMode":2,"tag":"31"},{"readFlag":1,"userMsgId":8,"msgId":8,"msgTitle":"您的金币充值成功","msgContent":"您的金币充值成功","pushTime":"2019-03-01 10:26:06","msgMode":2,"tag":"30"},{"readFlag":1,"userMsgId":7,"msgId":7,"msgTitle":"您的金币充值成功","msgContent":"您的金币充值成功","pushTime":"2019-03-01 10:15:40","msgMode":2,"tag":"29"},{"readFlag":1,"userMsgId":6,"msgId":6,"msgTitle":"您的金币充值成功","msgContent":"您的金币充值成功","pushTime":"2019-03-01 10:03:36","msgMode":2,"tag":"28"},{"readFlag":1,"userMsgId":5,"msgId":5,"msgTitle":"您的金币充值成功","msgContent":"您的金币充值成功","pushTime":"2019-03-01 10:01:41","msgMode":2,"tag":"27"},{"readFlag":1,"userMsgId":4,"msgId":4,"msgTitle":"您的金币充值成功","msgContent":"您的金币充值成功","pushTime":"2019-03-01 09:59:14","msgMode":2,"tag":"26"},{"readFlag":1,"userMsgId":3,"msgId":3,"msgTitle":"您的金币充值成功","msgContent":"您的金币充值成功","pushTime":"2019-03-01 09:52:11","msgMode":2,"tag":"24"},{"readFlag":1,"userMsgId":2,"msgId":2,"msgTitle":"您的金币充值成功","msgContent":"您的金币充值成功","pushTime":"2019-02-28 18:37:56","msgMode":2,"tag":"23"},{"readFlag":1,"userMsgId":1,"msgId":1,"msgTitle":"您的余额提现申请被驳回","msgContent":"您的余额提现申请被驳回","pushTime":"2019-02-28 14:06:39","msgMode":2,"tag":"20190228133632499712"}]
     * count : 0
     * limit : 23
     */

    private int current;
    private int pages;
    private int count;
    private int limit;

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public static class DataBean extends BaseBean.DataBean {
        /**
         * readFlag : 1
         * userMsgId : 24
         * msgId : 25
         * msgTitle : 您的订单已发货
         * msgContent : 您的订单已发货
         * pushTime : 2019-03-14 17:44:24
         * msgMode : 1
         * tag : 16
         * orderGoods : [{"orderGoodsId":18,"goodsId":3,"goodsName":"砍价测试","goodsImg":"http://localhost:8082/upload/images/goods/2e3f3cad023342858ae208a19deb810f.jpg","goodsPerFee":0,"goodsSpec":"","goodsNum":1}]
         */

        private int readFlag;
        private int userMsgId;
        private int msgId;
        private String msgTitle;
        private String msgContent;
        private String pushTime;
        private int msgMode;
        private String tag;
        private List<OrderGoodsBean> orderGoods;

        public int getReadFlag() {
            return readFlag;
        }

        public void setReadFlag(int readFlag) {
            this.readFlag = readFlag;
        }

        public int getUserMsgId() {
            return userMsgId;
        }

        public void setUserMsgId(int userMsgId) {
            this.userMsgId = userMsgId;
        }

        public int getMsgId() {
            return msgId;
        }

        public void setMsgId(int msgId) {
            this.msgId = msgId;
        }

        public String getMsgTitle() {
            return msgTitle;
        }

        public void setMsgTitle(String msgTitle) {
            this.msgTitle = msgTitle;
        }

        public String getMsgContent() {
            return msgContent;
        }

        public void setMsgContent(String msgContent) {
            this.msgContent = msgContent;
        }

        public String getPushTime() {
            return pushTime;
        }

        public void setPushTime(String pushTime) {
            this.pushTime = pushTime;
        }

        public int getMsgMode() {
            return msgMode;
        }

        public void setMsgMode(int msgMode) {
            this.msgMode = msgMode;
        }

        public String getTag() {
            return tag;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public List<OrderGoodsBean> getOrderGoods() {
            return orderGoods;
        }

        public void setOrderGoods(List<OrderGoodsBean> orderGoods) {
            this.orderGoods = orderGoods;
        }

        public static class OrderGoodsBean {
            /**
             * orderGoodsId : 18
             * goodsId : 3
             * goodsName : 砍价测试
             * goodsImg : http://localhost:8082/upload/images/goods/2e3f3cad023342858ae208a19deb810f.jpg
             * goodsPerFee : 0
             * goodsSpec :
             * goodsNum : 1
             */

            private int orderGoodsId;
            private int goodsId;
            private String goodsName;
            private String goodsImg;
            private double goodsPerFee;
            private String goodsSpec;
            private int goodsNum;

            public int getOrderGoodsId() {
                return orderGoodsId;
            }

            public void setOrderGoodsId(int orderGoodsId) {
                this.orderGoodsId = orderGoodsId;
            }

            public int getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(int goodsId) {
                this.goodsId = goodsId;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getGoodsImg() {
                return goodsImg;
            }

            public void setGoodsImg(String goodsImg) {
                this.goodsImg = goodsImg;
            }

            public double getGoodsPerFee() {
                return goodsPerFee;
            }

            public void setGoodsPerFee(double goodsPerFee) {
                this.goodsPerFee = goodsPerFee;
            }

            public String getGoodsSpec() {
                return goodsSpec;
            }

            public void setGoodsSpec(String goodsSpec) {
                this.goodsSpec = goodsSpec;
            }

            public int getGoodsNum() {
                return goodsNum;
            }

            public void setGoodsNum(int goodsNum) {
                this.goodsNum = goodsNum;
            }
        }
    }
}
